package com._13read.rss.service.impl;

import com._13read.rss.entity.RssEntry;
import com._13read.rss.mapper.RssEntryMapper;
import com._13read.rss.model.MyPage;
import com._13read.rss.service.IRssEntryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * RSS Entry 服务实现类
 * </p>
 *
 * @author 13read
 * @since 2018-12-06
 */
@Service
public class RssEntryServiceImpl extends ServiceImpl<RssEntryMapper, RssEntry> implements IRssEntryService {

    @Override
    public MyPage<RssEntry> basicInfoByRssSourceId(Long rssSourceId, Long current) {
        return super.baseMapper.basicInfoByRssSourceId(new MyPage(current,10),rssSourceId);
    }
}
